package com.shopnight.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class IndentInfoVO {

    //订单id
    private Long indentId;
    private String indentCode;
    private BigDecimal deliveryPrices;
    private BigDecimal prices;
    private Date createTime;
    private Integer indentStatus;
    private String remark;
    private String consignee;
    private String consigneePhone;
    private String detailedAddress;

    private  Integer orgId;
    private  String orgName;

    // 是否自提
    private Integer oneself;
    // 配送员姓名
    private String adminName;
    private String adminPhone;


    private Long expire;
    private JSONObject wxpay;
    private List<GoodsVO> goodsList;


    @Data
    public static class GoodsVO{
        private Long  orderId;
        private String orderName;
        private BigDecimal price;
        private BigDecimal purchasePrice;
        private BigDecimal priceDiscounts;
        private Integer seckill;
        private BigDecimal priceSeckill;
        private Long orgId;

        //库存
        private Integer stockCount;
        private Integer orderNum;
        private String imgUrl;
    }



}
